package gcosc.fun.hly.fastsso.service;


import java.util.Collection;
import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import gcosc.fun.hly.fastsso.domain.Bo.PageQuery;
import gcosc.fun.hly.fastsso.domain.SsoApplication;
import gcosc.fun.hly.fastsso.domain.SsoRole;
import gcosc.fun.hly.fastsso.result.TableDataInfo;

/**
 * 应用程序Service接口
 *
 * @author ruoyi
 * @date 2023-12-30
 */
public interface ISsoApplicationService extends IService<SsoApplication> {

    /**
     * 查询应用程序
     */
    SsoApplication queryById(Long id);

    /**
     * 查询应用程序列表
     */
    TableDataInfo<SsoApplication> queryPageList(SsoApplication bo, PageQuery pageQuery);

    /**
     * 查询应用程序列表
     */
    List<SsoApplication> queryList(SsoApplication bo);

    /**
     * 新增应用程序
     */
    Boolean insertByBo(SsoApplication bo);

    /**
     * 修改应用程序
     */
    Boolean updateByBo(SsoApplication bo);

    /**
     * 校验并批量删除应用程序信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
